<?php

class AddCallerEvt extends BaseUpdateEvt
{
	function __construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode,
						$phoneNumber, $callerNumber, $callerName, $description)
						{
							parent::__construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode);
							
							$this->phoneNumber 		= $phoneNumber;
							$this->callerNumber		= $callerNumber;
							$this->callerName		= $callerName;
							$this->description		= $description;
						}
	public $phoneNumber;
	
	public $callerNumber;
	
	public $callerName;
	
	public $description;

}

class AddCallerResp extends Response
{
	public $callerID;
}

class DelCallerEvt extends BaseUpdateEvt
{
	function __construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode,
						$phoneNumber, $callerNumber)
						{
							parent::__construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode);
							
							$this->phoneNumber 		= $phoneNumber;
							$this->callerNumber		= $callerNumber;							
						}
	public $phoneNumber;
	
	public $callerNumber;

}

class EditCallerEvt extends BaseUpdateEvt
{
	function __construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode,
						$phoneNumber, $callerNumber, $newCallerNumber, $callerName, $description)
						{
							parent::__construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode);
							
							$this->phoneNumber 		= $phoneNumber;
							$this->callerNumber		= $callerNumber;
							$this->newCallerNumber  = $newCallerNumber;
							$this->callerName		= $callerName;
							$this->description		= $description;
						}
	public $phoneNumber;
	
	public $callerNumber;
	
	public $newCallerNumber;
	
	public $callerName;
	
	public $description;

}

class QueryCallerEvt extends BaseEvt 
{
	function __construct($portalAccount, $portalPwd, $portalType, $phoneNumber, $callerNumber)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType);
		
		$this->phoneNumber = $phoneNumber;
		
		$this->callerNumber  = $callerNumber;
	}
	
	public $phoneNumber;
	
	public $callerNumber;
}

class QueryCallerResp extends BaseQueryResp 
{
	public $CallerInfos;
}

class CallerInfo 
{
	public $callerNumber;
	
	public $callerName;
	
	public $description;
	
}


?>